import React from 'react';
import '../style/cheapcard.scss'
function TableHeader(props) {
    return (
        <div className='cheapcard'>
            <div className='headerbox'>
                <p>{props.header}</p>
                <h2>{props.name}</h2>
            </div>
        </div>
    );
}

export default TableHeader;